<template>
	<view>
        <view>操作条4</view>
        
        <button type="default" @click="toLogin" class="login-button" style="margin-top: 150upx;">前往登录页</button>
        
      
        
	</view>
</template>

<script>
	export default {
		data() {
            return {
                show: false,
                mode: 'date'
            	
            };
        },
        methods: {
            toLogin(){
                //跳转传参示例
                this.$Router.push({
                    path: '/pages/login/login',
                    query: {msg:'我要登录！'}
                });
            },
            toOrder(){
                //跳转传参示例
                this.$Router.push({
                    path: '/pages/order/order',
                    query: {msg:'前往订单！'}
                });
            }
        }
	}
</script>

<style lang="scss">
    .title{
        text-align: center;
        margin-top: 100upx;
    }
    .login-button{
        width: 250upx;
        margin-top: 20upx;
    }
    

</style>
